<!DOCTYPE html>
<html>
	<head>
		
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width, user-scalable=no, 
			initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<link rel="stylesheet" href="assets/mui/css/mui.min.css" />
		<link rel="stylesheet" href="css/base.css" />
		<link rel="stylesheet" href="assets/fontAwesome/css/font-awesome.min.css" />
		
		<script src="assets/zepto/zepto.min.js"></script>
		<script src="js/public.js"></script>
		<script src="assets/mui/js/mui.min.js"></script>
		<script src="assets/artTemplate/template-native.js"></script>
		<script src="js/user.js"></script>
		<style>
			.mui-table-view:first-child{
				margin-top:0px !important;
			}
			a {
				touch-action: none;
			}
		</style>
		
	</head>
	<body>
		<header class="mui-bar mui-bar-nav myHeader">			
			<h1 class="mui-title">个人中心</h1>
			<!--mui-pull-right与bootstrap用法一样，加个mui前缀即可-->
			
		</header>
		<nav class="mui-bar mui-bar-tab footer my-foot">
			<a class="mui-tab-item " href="index.html">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item " href="category.html">
				<span class="mui-icon mui-icon-bars"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a class="mui-tab-item " href="cart.html">
				<span class="mui-icon fa fa-shopping-cart"></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a class="mui-tab-item mui-active" href="user.html">
				<span class="mui-icon mui-icon-person"></span>
				<span class="mui-tab-label">会员中心</span>
			</a>
		</nav>
		<!--内容区-->
		<div class="mui-content">
			<ul class="mui-table-view" id="userTemplate">
			    
			 </ul>
			<ul class="mui-table-view">
			    <li class="mui-table-view-cell">
			        <span class="mui-navigate-right">修改密码</span>
			    </li>
			    <li class="mui-table-view-cell">
			        <span class="mui-navigate-right" href="javascript:;">我的购物车</span>
			    </li>
			    <li class="mui-table-view-cell">
			        <a class="mui-navigate-right" href="javascript:;">收货地址</a>
			    </li>
			    <li class="mui-table-view-cell">
			        <a href="javascript:;" class="mui-text-center"  id="logOut">退出登录</a>
			    </li>
			</ul>		
		
		</div>
		<script id='userTem' type="text/template">
			<li class="mui-table-view-cell mui-media">
			    <a href="javascript:;">
			        <img class="mui-media-object mui-pull-left" src="images/user.jpg">
			        <div class="mui-media-body">			              			 
						<%=result.username %>				
			            <p class='mui-ellipsis'>能和心爱的人一起睡觉，是件幸福的事情；</p>
			        </div>
			    </a>
			</li>
		</script>
	</body>
</html>
